<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<#--setting locale="zh_CN"--> <#setting locale="en_US"> <#setting time_zone="GMT+8"> <#setting number_format="computer"> <#setting datetime_format="yyyy-MM-dd HH:mm"> <#setting date_format="yyyy-MM-dd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		${config.headText}
		<title><@title/></title>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<meta name="google-site-verification" content="8mQyu_qIYnryvdgjSyvHtM2PQirceBM8vhAwkOfQ-bs" />
		<#-- feed --> <#if feed?exists> <@feed/> </#if>
		<link rel="icon" href="/favicon.ico" />
		<link rel="shortcut icon" href="/favicon.ico" />
		<link rel="stylesheet" type="text/css" href="/styles/main.css" />
		<script src="/scripts/jquery.js" type="text/javascript" charset="utf-8"></script>
		<#-- js files --> <#if scripts?exists> <@scripts/> </#if>
	</head>
	<body>
		<div id="outer">
			<div id="logo">
				<div id="blogtitle">
					<span id="title"><a href="${config.host}">${config.blogTitle}</a>
					</span>
					<br />
					<span id="description">${config.bodyText}</span>
				</div>
				<div id="search">
					<form method="get" action="http://www.google.com/cse" target="google_window">
						<table cellspacing="0" cellpadding="0">
							<tbody>
								<tr>
									<td>
										<input type="hidden" value="004610612976060648354:ja66kvmycwk" name="cx" />
										<input type="hidden" value="UTF-8" name="ie" />
										<input type="text" size="28" name="q" style="border: 1px solid rgb(126, 157, 185); padding: 2px;" />
										<input type="submit" value="搜索" name="sa" />
									</td>
									<td></td>
								</tr>
								<tr>
									<td>
										<font size="-1"> <input type="radio" checked="" value="004610612976060648354:ja66kvmycwk" name="cx" id="custom" />
											<label for="custom">
												guanxx搜索  
											</label> <input type="radio" value="!004610612976060648354:ja66kvmycwk" name="cx" id="www" />
											<label for="www">
												网络搜索  
											</label> </font>
									</td>
								</tr>
							</tbody>
						</table>
					</form>
				</div>
			</div>
			<div id="header">
				<div id="tabbar">
					<a href="/blog"<#if focustab = "article" >class=focustab</#if> >首页</a>
					<a href="/blog/post?tag=gae"<#if focustab = "album" >class=focustab</#if> >GAE</a>
					<a href="/blog/post?tag=java"<#if focustab = "album" >class=focustab</#if> >JAVA</a>
					<a href="/blog/post?action=view&postid=11001"<#if focustab = "album" >class=focustab</#if> >书架</a>
					<a target="_blank" href="http://www.panoramio.com/map/?user=4296874"<#if focustab = "album" >class=focustab</#if> >GE照片</a>
					<a href="/blog/post?tag=薄荷"<#if focustab = "album" >class=focustab</#if> >薄荷日志</a>
					
					<#--国内被屏蔽<a href="/album"<#if focustab = "album" >class=focustab</#if> >相册</a>-->
					
					<!--<a href="/reader" <#if focustab = "reader" >class=focustab</#if> >我的订阅</a>-->
					<#--<a href="/douban"<#if focustab = "douban" >class=focustab</#if> >我的豆瓣</a>-->
					<#if spinpostlist?exists> <#list spinpostlist as post>
					<a href="/blog/post?action=view&postid=${post.id}"<#if focustab = post.title >class=focustab</#if> >${post.title}</a>
					 </#list> </#if>
					
				</div>
				<div id="toolbar">
					<#if userService.userLoggedIn> ${userService.currentUser.nickname} <#else>游客 </#if> <#if userService.userLoggedIn> <#if userService.userAdmin>
					<a href="/blog/post?action=new"<#if focustab = "newpost" >class=focustab</#if> >发表文章</a>
					<a href="/file"<#if focustab = "file" >class=focustab</#if> >文件管理</a>
					<a href="/consle"<#if focustab = "manager" >class=focustab</#if> >后台</a>
					<a href="/statistic"<#if focustab = "statistic" >class=focustab</#if> >统计</a>
					</#if>
					<a href="${userService.createLogoutURL(uri)}">注销</a> <#else>
					<a href="${userService.createLoginURL(uri)}">登录</a> </#if>
				</div>
			</div>
			<@customzone/>
			<br/>
			<div class="footer">
				<br>
				<br>
				<br>
				${config.footerText}
			</div>
		</div>
	</body>
</html>
